<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 22531
  Date: 2021/5/23
  Time: 22:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>教学管理信息服务平台</title>
    <link rel="stylesheet" type="text/css" href="/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/easyui/themes/icon.css">
    <script type="text/javascript" src="/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
    <script src="/easyui/locale/easyui-lang-zh_CN.js"></script>
    <style type="text/css">
        a{ text-decoration:none;color: #000000;}
    </style>
</head>
<body class="easyui-layout">

<div data-options="region:'north',split:false" style="height:50px;background-color:#0483d4;">
     <h2 style="font-size: 16px; color: #e68900;text-align: center">LittleFisher学生信息管理系统</h2>
</div>

<div data-options="region:'east',title:'新闻通知',split:true,iconCls:'icon-notice'" style="width:100px;">
    <ul type="circle">
        <c:forEach items="${sessionScope.notices}" var="notice">
            <li>
                <a href="javascript:void(0)" onclick="addTab('/news.jsp?id=${notice.id}&title=${notice.title}','${notice.title}')">
                    <span>${notice.title}</span>
                </a>
            </li>
        </c:forEach>
    </ul>
</div>

<div data-options="region:'west',title:'使用者',split:false" style="width:150px;">
    <div class="easyui-panel" style="padding:0px;height: 100%">
        <ul class="easyui-tree" id="tt">
            <li data-options="iconCls:'icon-man'">
                <span>${stu.name}</span>
                <ul>
                    <li data-options="state:'closed',iconCls:'icon-man'">
                        <span>管理</span>
                        <ul>
                            <li data-options="iconCls:'icon-sum'">
                                <a href="javascript:void(0)" onclick="addTab('/stu/stuInfo','个人信息')" >
                                    <span >个人信息</span>
                                </a>
                            </li>
                            <li data-options="iconCls:'icon-search'">
                                <a href="javascript:void(0)" onclick="addTab('/stu/toStuSc','查询所学课程')" >
                                    <span >所学课程</span>
                                </a>
                            </li>
                            <li data-options="iconCls:'icon-search'">
                                <a href="javascript:void(0)" onclick="addTab('/stu/toGetGrade','成绩查询')" >
                                    <span >成绩查询</span>
                                </a>
                            </li>
                            <li data-options="iconCls:'icon-edit'">
                                <a href="javascript:void(0)" onclick="addTab('/stu/toSelectCourse','选修选择')" >
                                    <span >选修选择</span>
                                </a>
                            </li>
                            <li data-options="iconCls:'icon-myEdit'">
                                <a href="javascript:void(0)" onclick="addTab('/stu/toStuUpPass','修改密码')">
                                    <span >修改密码</span>
                                </a>
                            </li>
                            <li data-options="iconCls:'icon-exit'">
                                <a href="javascript:void(0)" onclick="loginOut()">
                                    <span >安全退出</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </li>
        </ul>
    </div>

</div>

<div data-options="region:'center'" style="padding:0px;background:#eee;">
    <div id="myTab" class="easyui-tabs" data-options="fit:true">
        <div title="欢迎使用" style="padding:20px;display:none;">
            欢迎使用LitFisher 学分管理系统
        </div>
    </div>
</div>

<div data-options="region:'south',split:false" style="height:50px;background-color: #0483d4;text-align: center;">
    <div id="footerID" class="footer">
        <p>版权所有&#169; Copyright 1999-2021 正方软件股份有限公司　　中国·广东广州 广东药科大学城校区YJS&nbsp;&nbsp;&nbsp;版本V-1.0.0</p>
    </div>
</div>
<script type="text/javascript" src="/js/toTab.js"></script>
</body>
</html>
